package com.test.day04.outputStream;

import java.io.FileOutputStream;
import java.io.IOException;

/**
 * @program: OutputStream 是抽象类
 * @author: luhd
 * @create: 2021-08-05
 */
public class Demo01OutputStream {
    /**
     *  FileOutputStream:文件字节输出流
     */
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("D:\\myProject\\javaTest\\a.txt");
        fos.write(97);
        fos.close();
    }
}
